#!/usr/bin/env node

// let's provoke this to fail by requiring a nonexistent module
require('modulethatdoesnotexist/something')

const { generatorHandler } = require('../generatorHandler')

generatorHandler({
  async onGenerate() {
    await new Promise((r) => {
      setTimeout(r, 500)
    })
  },
})
